package com.tjmc.recruit.user.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.tjmc.recruit.user.entity.PersonalBasicInfoEntity;
import com.tjmc.recruit.user.vo.ResumeInfoVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

@Mapper
public interface PersonalBasicInfoMapper extends BaseMapper<PersonalBasicInfoEntity> {
    /**
     * 根据条件查询简历信息
     * @param page
     * @param params
     * @return
     */
    Page<ResumeInfoVO> getResumeInfoPage(Page<ResumeInfoVO> page, @Param("params") Map<String, Object> params);

    /**
     * 查询企业推荐简历列表
     * @param page
     * @param params
     * @return
     */
    Page<ResumeInfoVO> getRecommendsResumePage(Page<ResumeInfoVO> page, @Param("params") Map<String, Object> params);
}
